package com.itlong.cloud.sdk.dao;

import com.itlong.cloud.POJO.VO.sdk.CloudEntranceSDKEntranceInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <desc>
 *      云门禁SDK设备服务持久层接口
 * <desc/>
 *
 * @createDate 2019/03/14
 */
@Mapper
@Repository
public interface ICloudEntranceSDKDao {

    /**
     * <desc>
     *      根据设备唯一码查询门禁信息
     * </desc>
     *
     * @param deviceUniques
     * @return 根据设备唯一码查询门禁信息VO
     * @author Qiang.S
     * @createDate 2019/03/14
     */
    List<CloudEntranceSDKEntranceInfoVO> getEntranceInfo(List<String> deviceUniques);


    /**
     * <desc>
     *      获取门禁设备列表
     * </desc>
     *
     * @param projectId 项目id
     * @return 门禁设备id列表
     * @Author Zhu.yj
     * @createDate  2021/4/12
     */
    List<String> getEntranceList(@Param("projectId") String projectId);

}
